home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Producer's Bible / Multimedia Producer's Bible.iso / mac / mTropolis / mTropolis Sampler Files / mFactory Object Model Examples / Source / DrawBits / DrawBits.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-20  |  517 b   |  34 lines  |  [TEXT/MMCC]

  1. /*    DrawBits.h
  2. **
  3. **    Copyright 1995, mFactory, Inc.
  4. **    All rights reserved.
  5. */
  6.  
  7. #pragma once
  8.  
  9. #ifndef _DrawBits_
  10.     #define _DrawBits_
  11.  
  12.     typedef struct DrawBitsComp DrawBitsComp;
  13.  
  14.     #ifndef MSelf
  15.         #define MComponentName DrawBits
  16.         #define MSelf DrawBitsComp
  17.         #include "MFusion.h"
  18.     #endif
  19.  
  20.     typedef struct DrawBitsComp {
  21.         MEvent        f_applyEvent;
  22.         MEvent        f_removeEvent;
  23.     } DrawBitsComp;
  24.  
  25.     const short kDrawBitsRev = 0;
  26.  
  27.     enum {
  28.         kDrawBuffered, kDrawBitsNumProcs
  29.         };
  30.  
  31.     const kDrawBitsSlot = kMBaseCompSlot + 1;
  32.  
  33. #endif
  34.